package com.houger.ddd.seckill.infra.entity;

import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import lombok.*;
import lombok.experimental.SuperBuilder;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import java.io.Serial;

/**
 * 活动模板UI配置表
 *
 * @author Administrator
 * @version $$ Revision:1.0.0, $$ Date: 2022-02-25 18:48:04 $$
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@DynamicInsert
@DynamicUpdate
@Entity
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "activity_template_ui_config")
public class ActivityTemplateUiConfig extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 活动模板ID
     */
    private Long templateId;

    /**
     * 活动模板代码
     */
    private String templateCode;

    /**
     * 活动规则
     */
    private String ruleDesc;

    /**
     * 活动主图
     */
    private String homepageImage;

    /**
     * 活动背景颜色
     */
    private String homepageColor;

    /**
     * 分享标题
     */
    private String shareTitle;

    /**
     * 分享图片
     */
    private String shareImage;

    /**
     * 扩展参数
     */
    private String extData;


}
